package com.srd.phone.activity;

import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.shengrongdai.srd.R;

/**
 * 提现 - 失败
 */
public class WithdrawFailActivity extends BaseActivity implements  View.OnClickListener {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_withdraw_fail);

        initView();
        initData();
    }

    public void initView() {
        tv_common_title.setText("提现");

        Drawable drawable= getResources().getDrawable(R.mipmap.ic_withdraw_title_right);
        drawable.setBounds( 0 ,  0 , 70, 70);
        tv_common_right.setCompoundDrawables(drawable, null, null, null);
        tv_common_right.setVisibility(View.VISIBLE);
        tv_common_right.setOnClickListener(this);

        ((Button)findViewById(R.id.btn_black)).setOnClickListener(this);
    }

    public void initData() {

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {

            case R.id.tv_common_right:  // 标题右键

                break;

            case R.id.btn_black:  // 返回
                finish();
                break;

        }
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
//        recycle(presenter, common_url, third_url, phcode_url);
    }

}
